package com.ark.cloud.javacallnative.entity;

/**
 * Copyright(c): 2021 Cloud-Ark Inc.
 * Author(s): Ma Wei (mawei@cloud-ark.com)
 */

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 飞机起/降指令
 */
@Data
@TableName("aircraftlaunch_cmd")
public class AircraftLaunchCmd {
//    @TableId(type = IdType.AUTO, value = "id")
    @TableField("id")
    private Long id;

    @TableField("timestamp")
    private String timestamp;              //    指令发送时间	TimeStamp

    @TableField("cmd_id")
    private String cmdID;                      // 	指令ID	EntityID

    @TableField("aircraft_id")
    private String aircraftId;              //	执行此指令的飞机id	EntityID
    @TableField("base_id")
    private String baseId;                  //	飞机起降机场/航母ID	EntityID

    @TableField("take_off")
    private boolean takeoff;                      // 	true: 飞机起飞 false：飞机降落	bool

}
